package utils
{
	public class NumFormat
	{
		import mx.formatters.NumberFormatter;
		import mx.formatters.NumberBaseRoundType;

		public static function stdFormat( n:int ):String {
	   		var nf:NumberFormatter;
   			nf = new NumberFormatter();
			nf.rounding = NumberBaseRoundType.NEAREST;
			nf.precision = 0;
			return nf.format( n ) ;				
		}
	}
}